package com.thti.mecool.client.command.result.work;

import com.thti.mecool.client.base.BaseActivity;
import com.thti.mecool.client.command.ICommand;
import com.thti.mecool.client.protocol.work.WorkmemoResult;
import com.thti.mecool.client.service.Protocol;

public class DeleteWorkmemoCommand implements ICommand{

	@Override
	public void doCommand(Object o) {
		WorkmemoResult workmemoResult=(WorkmemoResult)o;
		if(workmemoResult!=null){
			BaseActivity.setCurrentMesg(workmemoResult.getMsg());
		}
		
	}

	@Override
	public String getCommandID() {
		
		return Protocol.getDeleteWorkmemo;
	}

	@Override
	public Class<?> getCommandClass() {
		// TODO Auto-generated method stub
		return WorkmemoResult.class;
	}

}
